﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace livingwellclinic
{
    public partial class newusers : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CreateUserWizard1.ActiveStepIndex = 0;
        }

        protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
        {
            {
                string UserName = (CreateUserWizard1.UserName);
                Roles.AddUserToRole(UserName, "User");
                Response.Redirect("usercreation.aspx");
                
            }
           
        }

       
    }
}